import request from "@/utils/request";

export const getgoods = (data) => {
  return request({
    method: "GET",
    url: "orders",
    params: data,
  });
};

//查看订单详情
// orders/:id
export const getding = (id) => {
  return request({
    method: "GET",
    url: `orders/${id}`,
  });
};
//查看物流信息
// /kuaidi/:id
export const getwu = (id) => {
  return request({
    method: "GET",
    url: `kuaidi/${id}`,
  });
};
